export default (proxy) => {
	return {
		column: [
			{
				label: '姓名',
				prop: 'name',
				link: false,
				readonly: false,
				placeholder: '请选择姓名',
				rules: [
					{
						required: true,
						message: '请选择姓名',
					},
				],
			},
			{
				label: '年龄',
				prop: 'age',
				disabled: false,
				rules: [
					{
						required: true,
						message: '请输入年龄',
					},
				],
			},
			{
				label: '手机号',
				prop: 'phone',
				disabled: false,
				rules: [
					{
						required: true,
						message: '请输入手机号',
					},
					{
						validator: proxy.validator.isMobile,
						message: '请输入正确的手机号',
					}
				],
			},

			{
				label: '职业',
				prop: 'post',
				type: 'select',
                formSlot: false,
				dicData: [
					{ text: '厨师', value: '1' },
					{ text: '公务员', value: '2' },
					{ text: '教师', value: '3' },
					{ text: '医生', value: '4' },
					{ text: '律师', value: '5' },
					{ text: '其他', value: '6' },
				],
				rules: [
					{
						required: true,
						message: '请选择职业',
					},
				],
			},
            {
				label: '性别',
				prop: 'sex',
				type: 'select',
				dicData: [
					{ text: '男', value: '1' },
					{ text: '女', value: '2' },
				],
				rules: [
					{
						required: true,
						message: '请选择性别',
					},
				],
			},
			{
				label: '籍贯',
				prop: 'native',
				type: 'select',
				dicData: [
					{ text: '南京', value: '1' },
					{ text: '上海', value: '2' },
					{ text: '北京', value: '3' },
					{ text: '广州', value: '4' },
					{ text: '深圳', value: '5' },
					{ text: '成都', value: '6' },
					{ text: '重庆', value: '7' },
					{ text: '西安', value: '8' },
					{ text: '武汉', value: '9' },
					{ text: '杭州', value: '10' },
				],
				rules: [
					{
						required: true,
						message: '请选择籍贯',
					},
				],
			},
			{
				label: '描述',
				prop: 'desc',
				disabled: false,
                type: "textarea",
				maxlength: "50",
				rules: [
					{
						required: true,
						message: '请输入描述',
					},
				],
			},
		],
	}
}
